package cn.gov.msa.dao;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageHelper;

import cn.gov.msa.model.Apply;
import cn.gov.msa.model.Question;

public interface ApplyMapper {
	
	List<Apply> selectData(Apply apply);
	
	List<Apply> selectDataHadDone(Apply apply);
	
    int deleteByPrimaryKey(String applyid);

    int insert(Apply record);

    int insertSelective(Apply record);

    Apply selectByPrimaryKey(String applyid);
    Apply selectByApplyno(String applyno);

    int updateByPrimaryKeySelective(Apply record);

    int updateByPrimaryKey(Apply record);

    List<Apply> selectLimitData(Map apply);
    
}